import baseModel from '../baseModel.js'
class PromotionCategory extends baseModel {
	name_ =  "PromotionCategory"
	entity = false
	model = {
		id:'',
		product:'',
		num:1
	}
	
	setProduct = function (productId){
		this.model.product = "/api_/food_promotions/" + productId
		return this
	}
	
	setNum = function (num) {
		this.model.num = num
		return this
	}
}
module.exports = PromotionCategory
